package org.pmt.first.kms.di

import org.koin.core.context.startKoin
import org.koin.dsl.module
import org.pmt.first.kms.data.network.OnlineRepository
import org.pmt.first.kms.data.network.ktorClient

/**
 * Author: pengmutian
 * Date: 2025/2/28 10:27
 * Description: Koin
 */
//fun initKoin() = startKoin{
//    modules(networkModule)
//}

val networkModule = module {
    single { ktorClient() }
    single { OnlineRepository(get()) }
}